package com.demo.entity;

import java.io.Serializable;
import java.math.BigDecimal;

import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 生活服务信息对象 category
 * 
 * @author 1111
 * @date 2023-12-02
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="AccessReturn对象", description="未归用户表")
public class Category implements Serializable
{
    private static final long serialVersionUID = 1L;

    /** 服务ID */
    private Long id;

    /** 服务类别 */
    private String category;

    /** 服务描述 */
    private String description;

    /** 价格 */
    private BigDecimal price;



    /** 地址 */
    private String address;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCategory(String category) 
    {
        this.category = category;
    }

    public String getCategory() 
    {
        return category;
    }

    public void setDescription(String description)
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }
    public void setPrice(BigDecimal price) 
    {
        this.price = price;
    }

    public BigDecimal getPrice() 
    {
        return price;
    }

    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("category", getCategory())
            .append("description", getDescription())
            .append("price", getPrice())
            .append("address", getAddress())
            .toString();
    }
}
